<?php


namespace app\command;


use app\home\service\TransferBetService;
use think\console\Command;
use think\console\Input;
use think\console\Output;

/**
 * 下注输赢计算 下注信息数据。转入资金流动数据库 几分钟执行一次
 * Class CalculationBet
 * @package app\command
 */
class CalculationBet extends Command
{
    protected function configure()
    {
        $this->setName('calculation _bet')->setDescription('Here is the Calculation_bet');
    }

    protected function execute(Input $input, Output $output)
    {
        $service = new TransferBetService();
        $service->mysql_insert_bet_money_log();
        $output->writeln('执行成功');
    }
}